package com.choosefine.it.manager.dao;

import java.util.List;
import java.util.Map;

import com.choosefine.it.company.model.vo.CompanyPublishProjectVO;
import com.choosefine.it.manager.model.ManagerProjectCollection;
import com.github.pagehelper.Page;

public interface ManagerProjectCollectionMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ManagerProjectCollection record);

    int insertSelective(ManagerProjectCollection record);

    ManagerProjectCollection selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ManagerProjectCollection record);

    int updateByPrimaryKey(ManagerProjectCollection record);
    
    int saveManagerProjectCollection(ManagerProjectCollection managerProjectCollection);
    
    int cancelManagerProjectCollection(ManagerProjectCollection managerProjectCollection);
    
    List<ManagerProjectCollection> findeCollectionByCodeAndId(ManagerProjectCollection managerProjectCollection);
    
    int repeatManagerProjectCollection(ManagerProjectCollection managerProjectCollection);
    /*项目经理查询收藏的项目列表yuxin3.11*/
    Page<CompanyPublishProjectVO> findCollectProjectList(Map<String, Object> params);
}